package com.hl.ruoyicsmshop.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.util.Date;

/**
 * 用户对象 user
 * 
 * @author ruoyi
 * @date 2025-08-06
 */
public class User extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户ID */
    private Long userId;

    /** 用户昵称 */
    @Excel(name = "用户昵称")
    private String userNickname;

    /** 用户账号 */
    @Excel(name = "用户账号")
    private String userAccount;

    /** 用户密码 */
    private String userPassword;

    /** 用户性别(0-未知,1-男,2-女) */
    @Excel(name = "用户性别(0-未知,1-男,2-女)")
    private Integer userSex;

    /** 用户生日 */
    @Excel(name = "用户生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date userBirth;

    /** 用户状态(0-禁用,1-正常) */
    @Excel(name = "用户状态(0-禁用,1-正常)")
    private Integer userStatus;

    /** 用户手机号 */
    @Excel(name = "用户手机号")
    private String userPhone;

    /** 用户邮箱 */
    @Excel(name = "用户邮箱")
    private String userEmail;

    /** 用户创建时间 */
    @Excel(name = "用户创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date userRegisterTime;

    /** 用户积分 */
    @Excel(name = "用户积分")
    private Integer userPoint;

    /** 用户VIP等级 */
    @Excel(name = "用户VIP等级")
    private Integer userLevel;

    /** 用户头像 */
    @Excel(name = "用户头像")
    private String userImg;

    /** 备用字段 */
    private String userOne;

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setUserNickname(String userNickname) 
    {
        this.userNickname = userNickname;
    }

    public String getUserNickname() 
    {
        return userNickname;
    }

    public void setUserAccount(String userAccount) 
    {
        this.userAccount = userAccount;
    }

    public String getUserAccount() 
    {
        return userAccount;
    }

    public void setUserPassword(String userPassword) 
    {
        this.userPassword = userPassword;
    }

    public String getUserPassword() 
    {
        return userPassword;
    }

    public void setUserSex(Integer userSex) 
    {
        this.userSex = userSex;
    }

    public Integer getUserSex() 
    {
        return userSex;
    }

    public void setUserBirth(Date userBirth) 
    {
        this.userBirth = userBirth;
    }

    public Date getUserBirth() 
    {
        return userBirth;
    }

    public void setUserStatus(Integer userStatus) 
    {
        this.userStatus = userStatus;
    }

    public Integer getUserStatus() 
    {
        return userStatus;
    }

    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }

    public void setUserEmail(String userEmail) 
    {
        this.userEmail = userEmail;
    }

    public String getUserEmail() 
    {
        return userEmail;
    }

    public void setUserRegisterTime(Date userRegisterTime) 
    {
        this.userRegisterTime = userRegisterTime;
    }

    public Date getUserRegisterTime() 
    {
        return userRegisterTime;
    }

    public void setUserPoint(Integer userPoint) 
    {
        this.userPoint = userPoint;
    }

    public Integer getUserPoint() 
    {
        return userPoint;
    }

    public void setUserLevel(Integer userLevel) 
    {
        this.userLevel = userLevel;
    }

    public Integer getUserLevel() 
    {
        return userLevel;
    }

    public void setUserImg(String userImg) 
    {
        this.userImg = userImg;
    }

    public String getUserImg() 
    {
        return userImg;
    }

    public void setUserOne(String userOne) 
    {
        this.userOne = userOne;
    }

    public String getUserOne() 
    {
        return userOne;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("userNickname", getUserNickname())
            .append("userAccount", getUserAccount())
            .append("userPassword", getUserPassword())
            .append("userSex", getUserSex())
            .append("userBirth", getUserBirth())
            .append("userStatus", getUserStatus())
            .append("userPhone", getUserPhone())
            .append("userEmail", getUserEmail())
            .append("userRegisterTime", getUserRegisterTime())
            .append("userPoint", getUserPoint())
            .append("userLevel", getUserLevel())
            .append("userImg", getUserImg())
            .append("userOne", getUserOne())
            .toString();
    }
} 